import React, {
    useState,
} from "react";
import "./index.scss";
/**
 * 传参：
 * className: 容器类名
 * style: 容器样式
 * placeholder: 输入框默认文字
 * autoSearch: 是否在输入框输入时就开始进行搜索操作
 * searchMethod: 搜索函数
 */
function Empty(props) {
    let {
        className,
        style,
        text
    } = props;
    return (
        <div className={`my_empty ${className? className: ""}`} style={{...style}}>
            <i className="emptylogo"></i>
            <p className="empty_text">{text? text: "暂无内容"}</p>
        </div>
    )
}
  
export default Empty;
  